Skip to main content

revMoveToNextRecord

Type

command

Summary

Moves to the next record in a record set.

Syntax

revMoveToNextRecord <recordSetID>

Description

Use the revMoveToNextRecord command to move around within the selected set of records.

note

Not all databases support the revMoveToNextRecord command. All the major database types that LiveCode can connect to do support this, however certain ODBC data sources may not, if in doubt, refer to the documentation for your ODBC data source driver.

Important

The revMoveToNextRecord command is part of the Database library. To ensure that the command works in a standalone application, you must include this custom library when you create your standalone. In the Inclusions pane of the Standalone Application Settings window, make sure both the "Database" library checkbox and those of the database drivers you are using are checked.

Parameters

NameTypeDescription

recordSetID

The number returned by the revQueryDatabase function when the record set was created.

Examples

revMoveToNextRecord myCurrentItems
revMoveToNextRecord (line x of field "Current Recordsets")

command: revMoveToFirstRecord, revMoveToRecord, revMoveToPreviousRecord, revMoveToLastRecord

control structure: function

function: revdb_movefirst, revdb_movelast, revCurrentRecordIsFirst, revQueryIsAtEnd, revdb_moveprev, revCurrentRecord, revCurrentRecordIsLast, revNumberOfRecords, revDatabaseColumnNumbered, revdb_movenext

glossary: Standalone Application Settings, record, command, record set, standalone application, database, LiveCode custom library

library: Database library

Compatibility and Support

Introduced

LiveCode 2.0

OS

mac

windows

linux

ios

android

Platforms

desktop

server

mobile

Thank you for your feedback!

Was this page helpful?